package com.baitiaojun.moments.service;

import com.baitiaojun.api.domain.moments.UserDailyMoments;
import com.baitiaojun.api.exception.ConditionException;

/**
 * @类名 UserDailyMomentsService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/1/16 14:46
 * @版本 1.0
 */
public interface DailyMomentsService {

    void publishDailyMoments(UserDailyMoments userDailyMoments, Long userId) throws Exception;

    UserDailyMoments getDailyMoments(Long contentId, Long userId) throws Exception;
    
    void deleteDailyMoments(Long id) throws ConditionException;

    void addUserDailyMoments(UserDailyMoments userDailyMoments) throws ConditionException;
}
